package com.serkol.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.serkol.ams.entity.SysCategory;

import java.util.List;
import java.util.Map;

/**
* @author pingan
* @description 针对表【sys_category】的数据库操作Service
* @createDate 2022-10-07 17:05:12
*/
public interface SysCategoryService extends IService<SysCategory> {

    List<Map<String, Object>> fetchSysCategoryList(int type);
    List<Map<String, Object>> fetchSysCategoryTreeList();

    List<Map<String, Object>> listSelect();

    boolean byDelete(long id);
}
